package com.molichuxing.gateway.bff.orders.entity.request.create;


import com.molichuxing.framework.dto.RequestRootDto;
import com.molichuxing.gateway.property.OrderCreateTypeEnum;
import com.molichuxing.services.property.OrderSourceEnum;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单新增vo
 * 
 * @author zoumingyu
 * @date 2019年9月24日
 *
 */
@Data
public class OrderCreateVo extends RequestRootDto {
	private static final long serialVersionUID = -3324393545273273268L;

	@ApiModelProperty(value = "订单新增类型（1：专属，2：订阅，3：加购，4：续订）", hidden = true)
	private OrderCreateTypeEnum createType;
	
	@ApiModelProperty(value = "订单号(加购、续订必传)", hidden = true)
	private Long orderCode;

	@ApiModelProperty(value = "商品id", hidden = true)
	private Integer goodsId;

	@ApiModelProperty(value = "里程包id（订阅里程必传）", hidden = true)
	private Integer packageId;

	@ApiModelProperty(value = "门店id（移动端下单必传）", hidden = true)
	private Integer storeId;
	
	@ApiModelProperty(value = "车辆当前公里数(加购必传)", hidden = true)
	private Integer currentMileage;

	@ApiModelProperty(value = "销售顾问id", hidden = true)
	private Integer salesmanId;
	
	@ApiModelProperty(value = "订单来源（1：智能终端（AIO），2：手机APP（Android），3：手机APP（IOS），4：微信小程序（APPLET），5：微信公众号（JSAPI），6：H5页面（MWEB））", hidden = true)
	private OrderSourceEnum source;

	@ApiModelProperty(value = "设备编号（智能终端下单为终端cpu）", hidden = true)
	private String deviceNum;
	
	@ApiModelProperty(value = "用户手机号", hidden = true)
	private String phone;

}
